public class Machine {
    private String name;

    private int width;

    private int weight;

    private int height;

    private int powder;

    private String cpu;

    public Machine() {
    }

    public Machine(String name, int width, int weight, int height, int powder, String cpu) {
        this.name = name;
        this.width = width;
        this.weight = weight;
        this.height = height;
        this.powder = powder;
        this.cpu = cpu;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getPowder() {
        return powder;
    }

    public void setPowder(int powder) {
        this.powder = powder;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    @Override
    public String toString() {
        return "Machine{" +
                "name='" + name + '\'' +
                ", width=" + width +
                ", weight=" + weight +
                ", height=" + height +
                ", powder=" + powder +
                ", cpu='" + cpu + '\'' +
                '}';
    }
}
